#ifndef MAP_HPP
# define MAP_HPP

# include <QString>
# include <QPainter>
# include "Tile.hpp"
# include "Object2D.hpp"

class Map: public Object2D
{
public:
    Map();
    Map(const int width, const int height);

    std::list<Tile*>*   getTiles();
    void                addTile(Tile* newTile);

    void    draw(QPainter& painter);

private:
    std::list<Tile*>    _tiles;
};

#endif // MAP_HPP
